home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- REM --------------------------------------------------------------------
- REM This is an excerpt from my AUTOEXEC.BAT file. Use these sample
- REM statements to configure your system to use XA.
- REM
- REM Set your PATH to include the directory where XA is kept.
- REM --------------------------------------------------------------------
-
- PATH C:\X10;(...other directories placed here...)
-
- REM --------------------------------------------------------------------
- REM Setup the XA Environment variable to point to the directory where
- REM XA's command and initialization files are kept.
- REM --------------------------------------------------------------------
-
- SET XA=C:\X10
-
- REM --------------------------------------------------------------------
- REM You could synchronize the clock in your CP-290 every time you boot
- REM your PC.
- REM --------------------------------------------------------------------
-
- XA "SYNCHRONIZE X10"
-
- REM --------------------------------------------------------------------
- REM Use POWERUP to see if it's time to update the CP-290 (Sunday 3:00am)
- REM ... Then DEFRAG DRIVES C,D,E,F
- REM ...... Then BACKUP modified files on drive E.
- REM ......... Then turn off the PC.
- REM --------------------------------------------------------------------
- POWERUP D=SUNDAY s=2:55 e=3:05
- IF NOT ERRORLEVEL 1 GOTO FINISH
- XA f=xa.cmd +r1
- C:\DOS\DEFRAG C: /F
- C:\DOS\DEFRAG D: /F
- C:\DOS\DEFRAG E: /F
- C:\DOS\DEFRAG F: /F
- C:\UTILS\BACKUP E:
- C:\DOS\smartdrv /c C- D- E- 1024 512
- XA "P_C OFF"
-
- :FINISH
-